package com.grape.service.system;

import java.sql.Date;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.grape.domain.system.User;

public interface UserService {

	User findByUsername(String username);

	Page<User> findAll(Pageable pageable, User model,Date startTime,Date endTime);

	void save(User model,String[] roleIds);

}
